﻿<br />
<div class="code">
&lt;p&gt;Login&nbsp;name:&nbsp;&lt;input&nbsp;&#64;Html.KoAttrValue(m&nbsp;=&gt;&nbsp;m.UserName,&nbsp;KoValueUpdate.AfterKeyDown)&nbsp;/&gt;&lt;/p&gt;<br />
&lt;p&gt;Password:&nbsp;&lt;input&nbsp;type=<span class="String">"password"</span>&nbsp;&#64;Html.KoAttrValue(m&nbsp;=&gt;&nbsp;m.UserPassword)&nbsp;/&gt;&lt;/p&gt;<br />
<br />
&lt;h5&gt;Entered&nbsp;values:&lt;/h5&gt;<br />
&lt;p&gt;Login&nbsp;name&nbsp;(real-time&nbsp;updates):&nbsp;&lt;span&nbsp;&#64;Html.KoAttrText(m&nbsp;=&gt;&nbsp;m.UserName)&nbsp;&gt;&lt;/span&gt;&lt;/p&gt;<br />
&lt;p&gt;Password&nbsp;(updates&nbsp;<span class="Linq">on</span>&nbsp;focus&nbsp;change):&nbsp;&lt;span&nbsp;&#64;Html.KoAttrText(m&nbsp;=&gt;&nbsp;m.UserPassword)&nbsp;&gt;&lt;/span&gt;&lt;/p&gt;
</div>